package com.shnu.cyn.studentscore.beans;

import com.shnu.cyn.studentscore.entity.ClassEntity;

import java.io.Serializable;

public class ClassBean implements Serializable {
    private String id;

    private String className;


    private String classCode;

    public ClassBean(ClassEntity entity) {
        setId(entity.getId());
        setClassCode(entity.getClassCode());
        setClassName(entity.getClassName());
    }
    public ClassBean() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }
}
